<script type="text/javascript" src="module/mod_kampus/ajax.js"></script>
<div class="span10">
          <div class="row-fluid">
            <div class="span12 box">
                <div class="box-head">
                    <h3>Divisi</h3>
                </div>
                <div class="box-content">
                    <div class="content-inner">
                        <div class="marg20-btm">
                            <a href="<?php echo base_url();?>admin/divisi/add" class="btn btn-primary"><i class="icon-plus"></i> Tambah Divisi</a>
                            
                            <form class="pull-right form-inline" method="get" action="<?php echo base_url();?>admin/universitas/index">
                                <input type="text" placeholder="Find Article" value="<?php echo $this->input->get('q'); ?>" />
                                <button class="btn">Search</button>
                            </form>
                        </div>
                        <table class="table table-bordered table-striped">
                          <thead>
                              <tr>
                                <!--<th><input type="checkbox" value="" class="check-all" /></th> -->
                                <th>NO</th>
                                <th>Nam Divisi</th>
                                <th>Action</th>
                              </tr>
                            </thead>
                            <tbody>
                            <?php 
							$no=1;	
							foreach($tabel as $r){?>
                              <tr>
                                <!--<td><input type="checkbox" /></td> -->
                                <td><?php echo $no; ?></td>
                                <td><?php echo $r['divisi']; ?></a></td>
                                <td><a href="<?php echo base_url();?>admin/divisi/edit/<?php echo $r['id_divisi']; ?>" rel="tooltip" title="Edit" class="btn btn-primary"><i class="icon-edit"></i></a>
                                    <a href="<?php echo base_url();?>admin/divisi/delete/<?php echo $r['id_divisi']; ?>" rel="tooltip" title="Delete" class="btn btn-danger" onClick="return confirm('Are you sure ?')"><i class="icon-trash"></i></a>
                                    <!--<a href="index.php?module=mod_peta&prev=preview" rel="tooltip" title="View" class="btn btn-success"><i class="icon-eye-open"></i></a> -->
                                </td>
                              </tr>
                            </tbody>
                            <?php 
							$no++;
							}
							 ?>
                          </table>
                          
                          <center>
                          
                            
                              <?php echo $pagination ?> 
                           
                         
                    </div><!-- content-inner -->
                </div>
            </div>
          </div> <!-- end row -->
          
        </div>